Write buffer management

ABSTRACT

A read operation to retrieve data from memory component and that bypasses a prior search for the data at a buffer in a read data path associated with the read operation can be performed. Responsive to performing the read operation that bypasses the prior search for the data at the buffer, the data is returned to a host system.

TECHNICAL FIELD

Implementations of the disclosure relate generally to memorysub-systems, and more specifically, relate to write buffer management inmemory sub-systems.

BACKGROUND

A memory sub-system can be a storage system, such as a solid-state drive(SSD), and can include one or more memory components that store data. Amemory sub-system can include memory components such as non-volatilememory components and volatile memory components. In general, a hostsystem can utilize a memory sub-system to store data at the memorycomponents of the memory sub-system and to retrieve data from the memorycomponents of the memory sub-system.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosure will be understood more fully from the detaileddescription given below and from the accompanying drawings of variousimplementations of the disclosure.

FIG. 1 illustrates an example computing environment that includes amemory sub-system, in accordance with some implementations of thedisclosure.

FIG. 2 illustrates another example computing environment that includes amemory sub-system, in accordance with some implementations of thedisclosure.

FIG. 3 is a flow diagram of an example method of performing a readoperation, in accordance with some implementations.

FIG. 4 is a flow diagram of an example method of performing a readoperation, in accordance with some implementations.

FIG. 5 is a block diagram of an example machine of a computer system inwhich implementations of the disclosure can operate.

DETAILED DESCRIPTION

Aspects of the present disclosure are directed to buffer management inmemory sub-systems. A memory sub-system is also hereinafter referred toas a “memory device”. An example of a memory sub-system is a storagesystem, such as a solid-state drive (SSD). In some implementations, thememory sub-system is a hybrid memory/storage sub-system. In general, ahost system can utilize a memory sub-system that includes one or morememory components. The host system can provide data to be stored at thememory sub-system and can request data to be retrieved from the memorysub-system.

The memory components used by the memory sub-system can have particularcharacteristics that provide challenges in the operation of the memorysub-system. For example, memory components can have a characteristicwhere reading data from a location at the memory components within awindow of time (e.g., within 1 millisecond (ms)) after the data has beenwritten to the location at the memory component can cause a large numberof errors in the data. The number of errors can be beyond the errorcorrection capability of the error correcting code (ECC) used by thememory sub-system and can cause a read failure. Some conventionalsystems perform read operations on memory components after a delayperiod (e.g., over 1 ms) to ensure that the data written to a locationon the memory components is correctly programmed and to avoid datacorruption. The delay period can reduce the quality of service of thememory sub-system by causing a lengthy latency in retrieving the datafrom the memory components and returning the data to the host system.

In the performance of write operations, a memory sub-system can load andstore the data to be written at a buffer (e.g., recent write buffer).The data stored at the buffer can be used to write the data to thememory components. Data from the buffer can be read without a delay(e.g., delayed read) and the data can be retrieved from the buffer witha relatively small number of errors. The buffer can store the data for acertain amount of time until, for example, the data is overwritten bynew data associated with a new write operation. The new data is storedon the buffer and is used to write to the memory components. Someconventional systems, in the performance of a read operation, inspectthe buffer in search for the data to be read for every read operationbefore reading the data from the memory components. Initially searchingfor the data at the buffer for every read operation can reduce the datacorruption caused by the characteristics of the memory components, butcan also contribute to reduced quality of service by increasing thelatency in retrieving the data and returning the data to the hostsystem. For instance, initially searching for the data at the buffer forevery read operation takes time, which contributes to increased latency.As buffers get larger, the latency caused by initially searching for thedata at the buffer for every read operation increases. The number ofread operations that are performed at locations of memory componentsthat have been recently written to can be a proportionally small amountof the total number of read operations of a memory sub-system, whichmakes the latency caused by initially searching for the data at thebuffer for every read operation even more undesirable.

Aspects of the disclosure address the above and other deficiencies byperforming a read operation that bypasses an initial search for the dataat a buffer and that directly reads data from the memory components. Insome implementations, initial error correcting code operations areperformed on the data retrieved from the memory components. Responsiveto determining that the data is not corrupt or is corrected by the errorcorrecting code operations, the data is returned to the host system.Responsive to determining that the data cannot be corrected by theinitial error correcting code operations, the controller searches thebuffer for the data. In some implementations, responsive to finding thedata at the buffer the data from the buffer is returned to the hostsystem and is used to re-program (e.g., re-write) the memory components.

Aspects of the disclosure, such as performing a read operation thatbypasses an initial search for the data at a buffer and that directlyreads data from the memory components, improves the operation of memorysub-systems by improving the quality of service of memory sub-systems byreducing latency in the return of data (e.g., to a host system) andimproving the speed of memory sub-systems in the performance of memoryoperations, such as a read operation. Additionally, the operation ofmemory sub-system is further improved by increasing the reliability ofdata stored at the memory sub-system by, for example, reprogrammingmemory components using data from a buffer of a controller.

FIG. 1 illustrates an example computing environment 100 that includes amemory sub-system 110 in accordance with some implementations of thepresent disclosure. The memory sub-system 110 can include media, such asmemory components 112A to 112N. The memory components 112A to 112N canbe volatile memory components, non-volatile memory components, or acombination of such. In some implementations, the memory sub-system is astorage system. An example of a storage system is a SSD. In someimplementations, the memory sub-system 110 is a hybrid memory/storagesub-system. In general, the computing environment 100 can include a hostsystem 120 that uses the memory sub-system 110. For example, the hostsystem 120 can write data to the memory sub-system 110 and read datafrom the memory sub-system 110.

The host system 120 can be a computing device such as a desktopcomputer, laptop computer, network server, mobile device, or suchcomputing device that includes a memory and a processing device. Thehost system 120 can include or be coupled to the memory sub-system 110so that the host system 120 can read data from or write data to thememory sub-system 110. The host system 120 can be coupled to the memorysub-system 110 via a physical host interface. As used herein, “coupledto” generally refers to a connection between components, which can be anindirect communicative connection or direct communicative connection(e.g., without intervening components), whether wired or wireless,including connections such as electrical, optical, magnetic, etc.Examples of a physical host interface include, but are not limited to, aserial advanced technology attachment (SATA) interface, a peripheralcomponent interconnect express (PCIe) interface, universal serial bus(USB) interface, Fibre Channel, Serial Attached SCSI (SAS), etc. Thephysical host interface can be used to transmit data between the hostsystem 120 and the memory sub-system 110. The host system 120 canfurther utilize an NVM Express (NVMe) interface to access the memorycomponents 112A to 112N when the memory sub-system 110 is coupled withthe host system 120 by the PCIe interface. The physical host interfacecan provide an interface for passing control, address, data, and othersignals between the memory sub-system 110 and the host system 120.

The memory components 112A to 112N can include any combination of thedifferent types of non-volatile memory components and/or volatile memorycomponents. An example of non-volatile memory components includes anegative-and (NAND) type flash memory. Each of the memory components112A to 112N can include one or more arrays of memory cells such assingle level cells (SLCs) or multi-level cells (MLCs) (e.g., triplelevel cells (TLCs) or quad-level cells (QLCs)). In some implementations,a particular memory component can include both an SLC portion and a MLCportion of memory cells. Each of the memory cells can store one or morebits of data (e.g., data blocks) used by the host system 120. Althoughnon-volatile memory components such as NAND type flash memory aredescribed, the memory components 112A to 112N can be based on any othertype of memory such as a volatile memory. In some implementations, thememory components 112A to 112N can be, but are not limited to, randomaccess memory (RAM), read-only memory (ROM), dynamic random accessmemory (DRAM), synchronous dynamic random access memory (SDRAM), phasechange memory (PCM), magneto random access memory (MRAM), negative-or(NOR) flash memory, electrically erasable programmable read-only memory(EEPROM), and a cross-point array of non-volatile memory cells. Across-point array of non-volatile memory can perform bit storage basedon a change of bulk resistance, in conjunction with a stackablecross-gridded data access array. Additionally, in contrast to manyflash-based memories, cross-point non-volatile memory can perform awrite in-place operation, where a non-volatile memory cell can beprogrammed without the non-volatile memory cell being previously erased.Furthermore, the memory cells of the memory components 112A to 112N canbe grouped as memory pages or data blocks that can refer to a unit ofthe memory component used to store data.

The memory system controller 115 (hereinafter referred to as“controller”) can communicate with the memory components 112A to 112N toperform operations such as reading data, writing data, or erasing dataat the memory components 112A to 112N and other such operations. Thecontroller 115 can include hardware such as one or more integratedcircuits and/or discrete components, a buffer memory, or a combinationthereof. The controller 115 can be a microcontroller, special purposelogic circuitry (e.g., a field programmable gate array (FPGA), anapplication specific integrated circuit (ASIC), etc.), or other suitableprocessor. The controller 115 can include a processor (processingdevice) 117 configured to execute instructions stored in local memory119. In the illustrated example, the local memory 119 of the controller115 includes an embedded memory configured to store instructions forperforming various processes, operations, logic flows, and routines thatcontrol operation of the memory sub-system 110, including handlingcommunications between the memory sub-system 110 and the host system120. In some implementations, the local memory 119 can include memoryregisters storing memory pointers, fetched data, etc. The local memory119 can also include read-only memory (ROM) for storing micro-code.While the example memory sub-system 110 in FIG. 1 has been illustratedas including the controller 115, in another implementation of thepresent disclosure, a memory sub-system 110 may not include a controller115, and may instead rely upon external control (e.g., provided by anexternal host, or by a processor or controller separate from the memorysub-system).

In general, the controller 115 can receive commands or operations fromthe host system 120 and can convert the commands or operations intoinstructions or appropriate commands to achieve the desired access tothe memory components 112A to 112N. The controller 115 can beresponsible for other operations such as wear leveling operations,garbage collection operations, error detection and error-correcting code(ECC) operations, encryption operations, caching operations, and addresstranslations between a logical block address and a physical blockaddress that are associated with the memory components 112A to 112N. Thecontroller 115 can further include host interface circuitry tocommunicate with the host system 120 via the physical host interface.The host interface circuitry can convert the commands received from thehost system into command instructions to access the memory components112A to 112N as well as convert responses associated with the memorycomponents 112A to 112N into information for the host system 120.

In some implementations, controller 115 can include host memorytranslation circuitry (not shown) that includes hardware (e.g.,circuitry), software (e.g., firmware), or a combination thereof that isused for translating host instructions received from host interfacecircuitry. The host memory translation circuitry can be configured totranslate host addresses (e.g., logical addresses) to memory addresses(e.g., physical addresses) of memory components 112A-112N. For example,the host system 120 can send one or more requests (e.g., read request,write request, etc.) to controller 115. The requests can include a hostcommand and host addresses of data on which the host command is to beperformed. For instance, a read request can include a host read commandand the host addresses of the data that is requested to be read. A writerequest can include a host write command and the host addresses of thedata that is requested to be written. The host addresses can beconverted by host memory translation circuitry into memory addresses,such as the physical memory addresses that identifying specific dataunits of the memory components 112A-112N.

The memory sub-system 110 can also include additional circuitry orcomponents that are not illustrated. In some implementations, the memorysub-system 110 can include a cache or buffer (e.g., DRAM) and addresscircuitry (e.g., a row decoder and a column decoder) that can receive anaddress from the controller 115 and decode the address to access thememory components 112A to 112N.

The memory sub-system 110 includes a buffer management component 113(e.g., circuitry, dedicated logic, programmable logic, firmware, etc.)to perform the operations described herein. In some implementations, thecontroller 115 includes at least a portion of the buffer managementcomponent 113. For example, the controller 115 can include a processor117 (processing device) configured to execute instructions stored inlocal memory 119 for performing the operations described herein. In someimplementations, the buffer management component 113 is part of the hostsystem 110, an application, or an operating system.

In some implementations, the buffer management component 113 can receivea request from a host system 120 to read data stored at memorycomponents 112. Responsive to the request to read the data, buffermanagement component 113 performs a read operation that reads the datafrom the memory components 112, which bypasses an initial search for thedata at a buffer in a read data path associated with the read operation.Responsive to performing the read operation that bypasses the initialsearch for the data at the buffer, buffer management component 113returns the data to the host system 120. Further details with regards tothe operations of the buffer management component 113 are describedbelow.

FIG. 2 illustrates another example computing environment 200 thatincludes a memory sub-system, in accordance with some implementations ofthe disclosure. Elements of computing environment 100 of FIG. 1 can beused to help illustrate FIG. 2. For example, computing environment 200includes host system 120, controller 115, and memory components112A-112N of FIG.1. It can be noted that computing environment 200 isprovided for purposes of illustration, rather than limitation. Inimplementations, computing environment 200 can include some, all, none,more or different elements of computing environment 100 of FIG. 1. Itcan also be noted that memory sub-system 210 of computing environment200 can include some, all, none, more or different elements of memorysub-system 110 of FIG. 1. Buffer management component 113 can performone or more of the operations described with respect to controller 115of FIG. 2.

In some implementations, controller 115 can include host interface (I/F)220, host memory translation 222, buffer 224, content-addressable memory(CAM) 226, and buffer management component 113.

In some implementations, memory components 112A-112N can includenon-volatile memory components, such a non-volatile memory componentsthat include a cross-point array of non-volatile memory cells. As notedabove, a cross-point array of non-volatile memory can perform bitstorage based on a change of bulk resistance, in conjunction with astackable cross-gridded data access array. Additionally, in contrast tomany flash-based memories that perform write out-of-place operations(e.g., data at location that is to be written is erased before otherdata can be programmed to the location), cross point non-volatile memorycan perform a write in-place operation, where a non-volatile memory cellcan be programmed without the non-volatile memory cell being previouslyerased. Aspects of the disclosure can be applied to other types ofnon-volatile memory components or other types of memory componentsgenerally.

In some implementations, controller 115 can include a host interface(I/F) 220 that includes hardware (e.g., circuitry), software (e.g.,firmware), or a combination thereof that is used for interfacing withthe host system 120. The host interface 220 can convert command packetsreceived from the host system (e.g., using peripheral componentinterconnect express (PCIe) bus) into command instructions for the hostmemory translation 222. The host interface 220 can also convertresponses from the host memory translation 222 into host commands fortransmission to host system 120. For example, host system 120 can sendto host interface 220 of controller 115 a read request to read datastored at memory components 112, a write request to store data at memorycomponents 112, or an erase request to erase data stored at memorycomponents 112. Host interface 220 can convert the read request to aread operation that is performed by the controller 115 to read datastored at memory components 112 and return the data to host system 120.Host interface 220 can convert the write request to a write operationthat is performed by the controller 115 to write data received from hostsystem 120 to memory components 112. Host interface can convert theerase request to an erase operation that is performed by the controller115 to erase data at memory components 112. Read operations, writeoperations, erase operations are examples of some memory operations.

In some implementations, controller 115 can include host memorytranslation 222 that includes hardware (e.g., circuitry), software(e.g., firmware), or a combination thereof that is used for translatinghost instructions received from host interface 220. The host memorytranslation 222 can be configured to translate host addresses (e.g.,logical addresses) to memory addresses (e.g., physical addresses) ofmemory components 112. For example, the host system 120 can send one ormore requests (e.g., read request, write request, etc.) to controller115. The requests can include a host command and host addresses of dataon which the host command is to be performed. For instance, a readrequest can include a host read command and the host addresses of thedata that is requested to be read. A write request can include a hostwrite command and the host addresses of the data that is requested to bewritten. The host addresses can be converted by host memory translation222 into memory addresses, such as the physical memory addressesidentifying specific logical unit numbers (LUN) of the memory components112. A logical unit number can refer to a unit of memory. For example, aunit of memory can be a die of memory component 112. In otherimplementations, the unit of memory can be a different amount of memory.

In some implementations, controller 115 can include buffer 224 that caninclude hardware (e.g., circuitry), software (e.g., firmware), or acombination thereof to store data (e.g., also referred to as “host data”herein) that is to be written or that has been recently written (e.g.,within lms) at memory components 112. In some implementations, buffer224 (also referred to as a “recent write buffer” or “write buffer”herein) can include volatile memory such as static random access memory(SRAM). For example, in the performance of a write operation (e.g.,responsive to a write request from host system 120) controller 115 cantemporarily store the data to be written on buffer 224, and retrieve thedata from buffer 224 to write the data to memory components 112. As newdata is received by buffer 224 (e.g., responsive to new write requests),older data at the buffer 224 is overwritten (e.g., using first-infirst-out (FIFO) scheme).

In some implementations, controller 115 can include content-addressablememory (CAM) 226 that can include hardware (e.g., circuitry), software(e.g., firmware), or a combination thereof to store informationindicative of the data stored at buffer 224. In some implementations, inthe performance of a write operation, data is stored on buffer 224 andthe memory addresses (e.g., of memory components 112) associated withthe data can be stored at content-addressable memory 226. Inimplementations, content-addressable memory 226 can implement alookup-table function where the content-addressable memory 226 receivesa data word (e.g., memory address) and searches its memory to determinewhether the data is stored at the content-addressable memory 226. Insome implementations, responsive to finding the data word,content-addressable memory 226 can return the data at the buffer that isassociated with the data word or the location of the data at the buffer.In some implementations, content-addressable memory 226 can perform thelookup-table function in a single clock cycle using dedicated comparisoncircuitry.

In implementations, to perform a read operation, controller 115 canperform a search for the data at buffer 224. Controller 115 can searchcontent-addressable memory 226 for the associated memory address of thedata. Responsive to finding the memory address of the data to be read atcontent-addressable memory 226, controller 115 can determine that thedata is stored at buffer 224 and retrieve the data from buffer 224(e.g., rather than memory components 112). Responsive to not finding thememory address of the data to be read at content-addressable memory 226,controller 115 can determine that the data is not stored atcontent-addressable memory 226.

In implementations, elements of controller 115 illustrate a simplifieddata path 205 (e.g., read data path or write data path) used in theperformance of a read operation or write operation. The data path 205can include one or more functional units that perform data processingoperations. The data path 205 includes host interface 220, host memorytranslation 222, buffer 224, and content-addressable memory 226. Thedata path of the computing environment 200 can more generally referredto host system 120, data path 205 of controller 115, and memorycomponents 112.

FIG. 3 is a flow diagram of an example method of performing a readoperation, in accordance with some implementations. The method 300 canbe performed by processing logic that can include hardware (e.g.,processing device, circuitry, dedicated logic, programmable logic,microcode, hardware of a device, integrated circuit, etc.), software(e.g., instructions run or executed on a processing device), or acombination thereof. In some implementations, method 300 can beperformed by the buffer management component 113 of the controller 115of FIG. 1 or FIG. 2. It can be noted that in other implementations,method 300 can include the same, different, additional, or feweroperations performed in the same or different order. Although shown in aparticular sequence or order, unless otherwise specified, the order ofthe processes can be modified. Thus, the illustrated implementationsshould be understood only as examples, and the illustrated operationscan be performed in a different order, and some operations can beperformed in parallel. Additionally, one or more operations can beomitted in various implementations. Thus, not all operations arerequired in every implementation. Other process flows are possible.Elements of the preceding Figures can be used to help illustrated FIG.3.

At block 305, processing logic receives a read request from host system120 to read data stored at memory components 112. A read request isfurther described with respect to FIG. 2.

At block 310, processing logic, responsive to the read request, performsa read operation and reads the data from memory components 112.Processing logic can read the data from memory components 112 using oneor more memory addresses associated with the data. In implementations,to perform the read operation processing logic bypasses an initialsearch (also referred to as “prior search” herein) for the data atbuffer 224 in the data path 205 associated with the read operation. Forexample, rather than performing an initial search for the data at bufferprior to searching for the data at memory components 112, controller 115can bypass the initial search of the data at buffer 224 and read thedata directly from memory components 112 (e.g., without previouslysearching for the data at buffer 224).

At block 315, processing logic performs one or more error correctingcode (ECC) operations on the data read from memory components 112. Insome implementations, controller 115 can perform one or more errorcorrecting code operations to attempt to detect or correct errors in thedata. For example, the one or more error correcting code operations candetect one or more errors of the data. Responsive to detecting an error,controller 115 can perform one or more additional error correcting codeoperations to correct a number of errors of the data. The one or moreerror correcting code operations can correct a number of errors that isless than or equal to the error correcting code's correction capability(also referred to as “t” herein). If the number of errors in the data isgreater than the error correcting code's correction capability, then theerror correcting code is not able to correct all the errors in the data(e.g., uncorrectable error). In implementations, the error correctingcode operations can be associated with one or more classes of errorcorrecting codes, such as parity check, product code,Bose-Chaudhuri-Hocquenghem (BCH) code, Low Density Parity Code (LDPC),among others.

At block 320, processing logic determines whether or not the data readfrom memory components 112 is absent an error in view of the one or moreerror correcting code operations. In one implementation, processinglogic does not detect any errors in the data read from memory components112. Responsive to determining that the data does not contain anyerrors, processing logic can proceed to block 330 and return the dataread from the memory components 112 to host system 120.

In another implementation, processing logic can determine the one ormore error correcting code operations performed on the data corrects oneor more errors (e.g., correctable error) of the data read from thememory components 112 (e.g., the number of errors of the data is lessthan or equal to the error correction capability of the error correctingcode). Responsive to determining that the errors in the data have beencorrected (and no errors remain in the data), processing logic canproceed to block 330 and return the corrected data to host system 120.

In some implementation, the one or more error correcting code operationscannot correct the one or more errors (e.g., uncorrectable errors)detected in the data (e.g., the number of errors of the data is greaterthan or equal to the error correction capability of the error correctingcode). Processing logic can determine that the one or more errorcorrecting code operations does not correct the error(s) (e.g.,uncorrectable error) of the data read from the memory components 112.Responsive to determining that the one or more error correcting codeoperations does not correct the error of the data read from the memorycomponents 112 (e.g., the error(s) are uncorrectable), processing logiccan proceed to block 325 to perform a subsequent search for the data atbuffer 224.

At block 325, processing logic performs a subsequent search (e.g.,subsequent to reading the data from memory components 112) for the dataat buffer 224. A search for data at buffer 224 is further described withrespect to FIG. 2.

At block 335, responsive to performing the subsequent search for thedata at buffer 224, processing logic determines whether or not the datais stored at buffer 224. In implementations, responsive to determiningthat the data is stored at buffer 224, processing logic reads the datafrom buffer 224 and proceeds to block 330 to return the data read frombuffer 224 to host system 120. In implementations, responsive todetermining that the data is stored at buffer 224, processing logicreads the data from buffer 224 and proceeds to block 345 to re-writedata at memory components 112. It can be noted that in instances wherethe data read from memory components 112 has been corrupted by readingthe data immediately after the data was written to the memory components112 (as described above), re-writing the data can correct the corrupteddata. In some implementations, responsive to determining that the datais not stored at buffer 224, processing logic proceeds to block 340 toperform error recovery.

At block 340, responsive to determining that the data is not stored atbuffer 224, processing logic performs one or more error recoveryoperations to correct the errors (e.g., the uncorrectable errors via ECCof block 320) in the data read from memory components 112. The errorrecovery operations can be similar to error correcting code operations,such that the error recovery operations can correct a number of errorsthat is less than or equal to the error recovery's correction capability(or can include similar classes of ECC). In some implementations, theerror recovery operations are more complex than error correcting codeoperations of block 315 (e.g., change device read parameters, ECCparameters, etc.). In implementations, the error correction ability ofthe error recovery operations can be greater than the error correctionability of the error correcting code operations of block 315 (e.g., cancorrect a greater number of errors). In some implementations, thelatency caused by the performance of the error recovery operations canbe greater than the latency caused by the performance of errorcorrecting code operations of block 315. For example, the performance ofthe error recovery operations takes longer than the error correctingcode operations of block 310, which can cause a greater delay inreturning the data to host system 120.

In some implementations, responsive to determining the error recoveryoperation are unsuccessful in correcting the errors in the data readfrom memory components 112, processing logic generates a report (e.g.,identifying the data with the uncorrectable error) and submits thereport to host system 120 (not shown).

In some implementations, responsive to correcting the errors in the dataread from the memory components 112 using the error recovery operations,processing logic can proceed to block 330 and return the corrected datato host system 120. In some implementations, responsive to correctingthe errors in the data read from the memory components 112 using theerror recovery operations, processing logic proceeds to block 345 tore-write data to memory components 112.

At block 330 (as noted above), processing logic returns the data to hostsystem 120 responsive to the read request (e.g., block 305).

At block 345, processing logic performs a write operation (e.g.,re-write operation) to write the data stored at the buffer to the memorycomponents 112. In some implementations, the write operation is anin-place write operation. In some implementations, the performance ofthe write operation writes the data of the buffer 224 to the samelocation (e.g., same memory address) of the memory components 112 fromwhich the read operation read the data (e.g. at block 310). It can benoted that the data can be corrupted by the read operation (e.g., block310), and processing logic re-writes the data to the same location ofthe memory components 112 to correct the corrupted data. In someimplementations, processing logic can perform operations of block 330and block 345 concurrently, serially, or otherwise.

FIG. 4 is a flow diagram of an example method of performing a readoperation, in accordance with some implementations. The method 400 canbe performed by processing logic that can include hardware (e.g.,processing device, circuitry, dedicated logic, programmable logic,microcode, hardware of a device, integrated circuit, etc.), software(e.g., instructions run or executed on a processing device), or acombination thereof. In some implementations, method 400 can beperformed by the buffer management component 113 of the controller 115of FIG. 1 or FIG. 2. It can be noted that in other implementations,method 400 can include the same, different, additional, or feweroperations performed in the same or different order. Although shown in aparticular sequence or order, unless otherwise specified, the order ofthe processes can be modified. Thus, the illustrated implementationsshould be understood only as examples, and the illustrated operationscan be performed in a different order, and some operations can beperformed in parallel. Additionally, one or more operations can beomitted in various implementations. Thus, not all operations arerequired in every implementation. Other process flows are possible.Elements of the preceding Figures can be used to help illustrated FIG.4.

At block 405, processing logic receives a request from a host system 120to read host data stored at memory components 112. At block 410,responsive to the request to read the host data, processing logicperforms a read operation that reads the host data from the memorycomponents 112 and that bypasses an initial search for the host data ata buffer 224 in a read data path 205 associated with the read operation.At block 415, responsive to performing the read operation that bypassesthe initial search for the host data at the buffer 224, processing logicreturns the host data to the host system 120.

FIG. 5 illustrates an example machine of a computer system 500 withinwhich a set of instructions, for causing the machine to perform any oneor more of the methodologies discussed herein, can be executed. In someembodiments, the computer system 500 can correspond to a host system(e.g., the host system 120 of FIG. 1) that includes, is coupled to, orutilizes a memory sub-system (e.g., the memory sub-system 110 of FIG. 1or memory sub-system 210 of FIG. 2) or can be used to perform theoperations of a controller (e.g., to execute an operating system toperform operations corresponding to the buffer management component 113of FIG. 1 or FIG. 2). In alternative embodiments, the machine can beconnected (e.g., networked) to other machines in a LAN, an intranet, anextranet, and/or the Internet. The machine can operate in the capacityof a server or a client machine in client-server network environment, asa peer machine in a peer-to-peer (or distributed) network environment,or as a server or a client machine in a cloud computing infrastructureor environment.

The machine can be a personal computer (PC), a tablet PC, a set-top box(STB), a Personal Digital Assistant (PDA), a cellular telephone, a webappliance, a server, a network router, a switch or bridge, or anymachine capable of executing a set of instructions (sequential orotherwise) that specify actions to be taken by that machine. Further,while a single machine is illustrated, the term “machine” shall also betaken to include any collection of machines that individually or jointlyexecute a set (or multiple sets) of instructions to perform any one ormore of the methodologies discussed herein.

The example computer system 500 includes a processing device 502, a mainmemory 504 (e.g., read-only memory (ROM), flash memory, dynamic randomaccess memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM(RDRAM), etc.), a static memory 506 (e.g., flash memory, static randomaccess memory (SRAM), etc.), and a data storage system 518, whichcommunicate with each other via a bus 530.

Processing device 502 represents one or more general-purpose processingdevices such as a microprocessor, a central processing unit, or thelike. More particularly, the processing device can be a complexinstruction set computing (CISC) microprocessor, reduced instruction setcomputing (RISC) microprocessor, very long instruction word (VLIW)microprocessor, or a processor implementing other instruction sets, orprocessors implementing a combination of instruction sets. Processingdevice 502 can also be one or more special-purpose processing devicessuch as an application specific integrated circuit (ASIC), a fieldprogrammable gate array (FPGA), a digital signal processor (DSP),network processor, or the like. The processing device 502 is configuredto execute instructions 526 for performing the operations and stepsdiscussed herein. The computer system 500 can further include a networkinterface device 508 to communicate over the network 520.

The data storage system 518 can include a machine-readable storagemedium 524 (also known as a computer-readable medium) on which is storedone or more sets of instructions 526 or software embodying any one ormore of the methodologies or functions described herein. Theinstructions 526 can also reside, completely or at least partially,within the main memory 504 and/or within the processing device 502during execution thereof by the computer system 500, the main memory 504and the processing device 502 also constituting machine-readable storagemedia. The machine-readable storage medium 524, data storage system 518,and/or main memory 504 can correspond to the memory sub-system 110 ofFIG. 1 or memory sub-system 210 of FIG. 2.

In one embodiment, the instructions 526 include instructions toimplement functionality corresponding to a buffer management component(e.g., the buffer management component 113 of FIG. 1 or FIG. 2). Whilethe machine-readable storage medium 524 is shown in an exampleembodiment to be a single medium, the term “machine-readable storagemedium” should be taken to include a single medium or multiple mediathat store the one or more sets of instructions. The term“machine-readable storage medium” shall also be taken to include anymedium that is capable of storing or encoding a set of instructions forexecution by the machine and that cause the machine to perform any oneor more of the methodologies of the present disclosure. The term“machine-readable storage medium” shall accordingly be taken to include,but not be limited to, solid-state memories, optical media, and magneticmedia.

Some portions of the preceding detailed descriptions have been presentedin terms of algorithms and symbolic representations of operations ondata bits within a computer memory. These algorithmic descriptions andrepresentations are the ways used by those skilled in the dataprocessing arts to most effectively convey the substance of their workto others skilled in the art. An algorithm is here, and generally,conceived to be a self-consistent sequence of operations leading to adesired result. The operations are those requiring physicalmanipulations of physical quantities. Usually, though not necessarily,these quantities take the form of electrical or magnetic signals capableof being stored, combined, compared, and otherwise manipulated. It hasproven convenient at times, principally for reasons of common usage, torefer to these signals as bits, values, elements, symbols, characters,terms, numbers, or the like.

It should be borne in mind, however, that all of these and similar termsare to be associated with the appropriate physical quantities and aremerely convenient labels applied to these quantities. The presentdisclosure can refer to the action and processes of a computer system,or similar electronic computing device, that manipulates and transformsdata represented as physical (electronic) quantities within the computersystem's registers and memories into other data similarly represented asphysical quantities within the computer system memories or registers orother such information storage systems.

The present disclosure also relates to an apparatus for performing theoperations herein. This apparatus can be specially constructed for theintended purposes, or it can include a general purpose computerselectively activated or reconfigured by a computer program stored inthe computer. Such a computer program can be stored in a computerreadable storage medium, such as, but not limited to, any type of diskincluding floppy disks, optical disks, CD-ROMs, and magnetic-opticaldisks, read-only memories (ROMs), random access memories (RAMs), EPROMs,EEPROMs, magnetic or optical cards, or any type of media suitable forstoring electronic instructions, each coupled to a computer system bus.

The algorithms and displays presented herein are not inherently relatedto any particular computer or other apparatus. Various general purposesystems can be used with programs in accordance with the teachingsherein, or it can prove convenient to construct a more specializedapparatus to perform the method. The structure for a variety of thesesystems will appear as set forth in the description below. In addition,the present disclosure is not described with reference to any particularprogramming language. It will be appreciated that a variety ofprogramming languages can be used to implement the teachings of thedisclosure as described herein.

The present disclosure can be provided as a computer program product, orsoftware, that can include a machine-readable medium having storedthereon instructions, which can be used to program a computer system (orother electronic devices) to perform a process according to the presentdisclosure. A machine-readable medium includes any mechanism for storinginformation in a form readable by a machine (e.g., a computer). In someembodiments, a machine-readable (e.g., computer-readable) mediumincludes a machine (e.g., a computer) readable storage medium such as aread only memory (“ROM”), random access memory (“RAM”), magnetic diskstorage media, optical storage media, flash memory components, etc.

In the foregoing specification, embodiments of the disclosure have beendescribed with reference to specific example embodiments thereof. Itwill be evident that various modifications can be made thereto withoutdeparting from the broader spirit and scope of embodiments of thedisclosure as set forth in the following claims. The specification anddrawings are, accordingly, to be regarded in an illustrative senserather than a restrictive sense.

The words “example” or “exemplary” are used herein to mean serving as anexample, instance, or illustration. Any aspect or design describedherein as “example’ or “exemplary” is not necessarily to be construed aspreferred or advantageous over other aspects or designs. Rather, use ofthe words “example” or “exemplary” is intended to present concepts in aconcrete fashion. As used in this application, the term “or” is intendedto mean an inclusive “or” rather than an exclusive “or.” That is, unlessspecified otherwise, or clear from context, “X includes A or B” isintended to mean any of the natural inclusive permutations. That is, ifX includes A; X includes B; or X includes both A and B, then “X includesA or B” is satisfied under any of the foregoing instances. In addition,the articles “a” and “an” as used in this application and the appendedclaims can generally be construed to mean “one or more” unless specifiedotherwise or clear from context to be directed to a singular form.Moreover, use of the term “an implementation” or “one implementation” or“an embodiment” or “one embodiment” throughout is not intended to meanthe same implementation or embodiment unless described as such. Theterms “first,” “second,” “third,” “fourth,” etc. as used herein aremeant as labels to distinguish among different elements and may notnecessarily have an ordinal meaning according to their numericaldesignation.

What is claimed is:
 1. A system comprising: a memory component; and aprocessing device, coupled to the memory component, the processingdevice to: receive a request from a host system to read data stored atthe memory component; responsive to the request to read the data,perform a read operation to retrieve the data from the memory component;determine whether the data retrieved from the memory component comprisesan error that is not correctable; and responsive to determining that thedata retrieved from the memory component comprises an error that is notcorrectable, search for the data at a buffer in a data path associatedwith the memory component.
 2. The system of claim 1, wherein to performthe read operation to retrieve the data from the memory component, theprocessing device is further to: read the data directly from the memorycomponent without a prior performance of an initial search of the bufferto determine whether the data is stored at the buffer.
 3. The system ofclaim 1, the processing device further to: perform one or more errorcorrecting code operations on the data retrieved from the memorycomponent.
 4. The system of claim 3, the processing device further to:determine that the data retrieved from the memory component is absentthe error in view of the performance of the one or more error correctingcode operations; and responsive to determining that the data retrievedfrom the memory component is absent the error, return the data retrievedfrom the memory component to the host system.
 5. The system of claim 3,the processing device further to: determine that the one or more errorcorrecting code operations performed on the data corrects the error ofthe data retrieved from the memory component; and responsive todetermining that the one or more error correcting code operationscorrects the error, return the corrected data to the host system.
 6. Thesystem of claim 3, the processing device further to: determine that thedata retrieved from the memory component comprises the error that is notcorrectable error in view of the performance of the one or more errorcorrecting code operations.
 7. The system of claim 6, the processingdevice further to: determine that the data is stored at the buffer; andresponsive to determining that the data is stored at the buffer,retrieve the data from the buffer, wherein the data retrieved from thebuffer is returned to the host system.
 8. The system of claim 7, theprocessing device further to: responsive to determining that the data isstored at the buffer, perform an in-place write operation to write thedata from the buffer to the memory component.
 9. The system of claim 8,wherein the in-place write operation to write the data to a samelocation of the memory component from which the read operation retrievedthe data.
 10. The system of claim 7, the processing device further to:responsive to determining that the data is not stored at the buffer,perform error recovery operations on the data.
 11. The system of claim1, wherein the memory component comprise non-volatile memory componentat which in-place write operations are performed.
 12. The system ofclaim 1, wherein the buffer comprise one or more volatile memorycomponent to store data most recently written at the memory component.13. A method comprising: receiving, by a processing device, a requestfrom a host system to read data stored at a memory component; responsiveto the request to read the data, performing, by the processing device, aread operation to retrieve the data from the memory component;determining whether the data retrieved from the memory componentcomprises an error that is not correctable; responsive to determiningthat that the data retrieved from the memory component comprises anerror that is not correctable, search for the data a buffer in a datapath associated with the memory sub-system.
 14. The method of claim 13,further comprising: performing error correcting code operations on thedata retrieved from the memory component.
 15. The method of claim 14,further comprising: determining that the data retrieved from the memorycomponent is absent the error in view of the performance of the one ormore error correcting code operations; and responsive to determiningthat the data retrieved from the memory component does is absent theerror, return the data retrieved from the memory component to the hostsystem.
 16. The method of claim 14, further comprising: determining thatthe data retrieved from the memory component comprises the error that isnot correctable in view of the one or more error correcting codeoperations; determining that the data is stored at the buffer; andresponsive to determining that the data is stored at the buffer,retrieving the data from the buffer, wherein the data retrieved from thebuffer is returned to the host system.
 17. A non-transitorycomputer-readable medium comprising instructions that, responsive toexecution by a processing device, cause the processing device to:perform a read operation to retrieve data from a memory component andthat bypasses a prior search for the data at a buffer in a read datapath associated with the read operation; and responsive to performingthe read operation that bypasses the prior search for the data at thebuffer, return the data to a host system.
 18. The non-transitorycomputer-readable medium of claim 17, the processing device further to:perform error correcting code operations on the data retrieved from thememory component.
 19. The non-transitory computer-readable medium ofclaim 18, the processing device further to: determine that the one ormore error correcting code operations does not correct an error in thedata retrieved from the memory component; and responsive to determiningthat the one or more error correcting code operations does not correctthe error in the data retrieved from the memory component, perform asubsequent search for the data at the buffer.
 20. The non-transitorycomputer-readable medium of claim 19, the processing device further to:determine that the data is stored at the buffer based on the performanceof the subsequent search for the data at the buffer; and responsive todetermining that the data is stored at the buffer, retrieve the datafrom the buffer, wherein the data retrieved from the buffer is returnedto the host system.